# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=sscregistrygen
pkgver=2.0.0
pkgrel=0
pkgdesc="Registry generator for the Qualcomm Snapdragon Sensor Core"
url="https://gitlab.com/flamingradian/sensh"
arch="all"
license="GPL-3.0-or-later"
makedepends="json-c-dev"
source="https://gitlab.com/flamingradian/sensh/-/archive/v$pkgver/sensh-v$pkgver.tar.gz"
builddir="$srcdir/sensh-v$pkgver/tools"
options="!check" # no test suite

build() {
	make
}

package() {
	install -Dm755 "$builddir"/sscregistrygen "$pkgdir"/usr/bin/sscregistrygen
}

sha512sums="
e6b6eb299c8e44a704dc62afad4d2067d058a3f3dfa26d94cdf021587b4115f75567104c64939de93cad70a21f0d8fd62aae2d6ab2419452bafb4c7f4bda4558  sensh-v2.0.0.tar.gz
"
